<template>
    <div style="width: 100%;height: 100vh;display: flex;flex-direction: column;justify-content: center;align-items: center;z-index: 9999">
        <div style="width: 100%;display: flex;justify-content: center;">
            <img :src="Url + dongjieInfo.djimage" style="width: 80%;height: auto;" alt="">
        </div>
        <div style="padding: 30px;text-align: center">{{dongjieInfo.massage}}</div>
    </div>
</template>

<script>
    export default {
        name: "locked",
        data(){
            return{
                dongjieInfo: {
                    djimage: '',
                    massage: ''
                }
            }
        },
        mounted(){
            if(this.$route.query.wxerweima){
                this.dongjieInfo.djimage = this.$route.query.wxerweima;
            }else {
                this.getdongjie();
            }
        },
        methods:{
            getdongjie(){
                let that = this;
                that.request1.post1({
                    url: that.Url + "api/index/dongjiehtml",
                    params: {},
                    success: function (res) {
                        that.dongjieInfo = res.data.data;
                    },
                    fail: function (error) {
                        alert(error.data.msg)
                    }
                })
            }
        }
    }
</script>

<style scoped>
    /deep/.van-overlay{
        background-color: transparent;
    }
</style>